package cn.new7as.cas5s.ui.easy.netapi;

import androidx.annotation.NonNull;

import com.hjq.http.annotation.HttpHeader;
import com.hjq.http.config.IRequestApi;

import java.io.Serializable;
import java.util.List;

import cn.new7as.cas5s.BuildConfig;

public class OrderApi implements IRequestApi, Serializable  {

    @NonNull
    @Override
    public String getApi() {
        return BuildConfig.APPX + "/order/loanSupermarket/payment/get";
    }

    @HttpHeader
    private String token;

    private int pageNo;


    public OrderApi(String psad, int casd) {
        this.token = psad;
        this.pageNo = casd;
    }    public OrderApi() {

    }


    public class OrderData {

        public List<Data> repaymentRecords;

    }

    public class Data implements Serializable {
        public int fo;
        public String actualRepayAmount;
        public String actualRepayMentDate;

        public int bankStatus;
        public int orderStatus;
        public String cardNo;
        public String expireDays;
        public String extensionRepaymentAmount;
        public String ifsc;
        public String interest;

        public String orderAmount;

        public String overdueDays;

        public String period;

        public String productCategoryName;
        public String productCategorySubCode;

        public String receivedTotalCapital;
        public String repayMentDate;
        public String repaymentAmount;
        public String predictTotalCapital;

        public String status;

        public String totalOverdueFee;
        public int totalServiceFee;

        public String tradeNo;

        public String upi;


        public String loanAmount;
        public int periodLength;
        public String serviceCharge;
        public String productCode;
    }


}

